using System;
using System.Linq.Expressions;

namespace PropertyExpression.ReactiveRelation
{
    public interface ICalcInitiator<TEntity>
    {
        Func<TProperty, ICalcInitiator<TEntity>> _<TProperty>(
            Expression<Func<TEntity, TProperty>> propertyExpression);

        TEntity Entity { get; }

        ICalcExecutor CalcExecutor { get; }
    }
}